package com.ruoyi.project.dict.jieshiapprove.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 解释审核对象 ci_jieshi_approve
 *
 * @author shixiangwen
 * @date 2020-10-20
 */
public class CiJieshiApprove extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long kkid;

    /**
     * 词
     */
    @Excel(name = "词")
    private String ci;

    /**
     * 解释
     */
    @Excel(name = "解释")
    private String content;

    /**
     * 提交时间
     */
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**
     * 提交IP
     */
    @Excel(name = "提交IP")
    private String ip;

    /**
     * 审核状态
     */
    @Excel(name = "审核状态")
    private Integer approveSt;

    /**
     * 审核用户
     */
    @Excel(name = "审核用户")
    private String approveUser;

    private int autoApprove;

    private String ipInfo;

    /**
     * 审核时间
     */
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approveTime;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setKkid(Long kkid) {
        this.kkid = kkid;
    }

    public Long getKkid() {
        return kkid;
    }

    public void setCi(String ci) {
        this.ci = ci;
    }

    public String getCi() {
        return ci;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getIp() {
        return ip;
    }

    public void setApproveSt(Integer approveSt) {
        this.approveSt = approveSt;
    }

    public Integer getApproveSt() {
        return approveSt;
    }

    public void setApproveUser(String approveUser) {
        this.approveUser = approveUser;
    }

    public String getApproveUser() {
        return approveUser;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }

    public Date getApproveTime() {
        return approveTime;
    }

    public int getAutoApprove() {
        return autoApprove;
    }

    public void setAutoApprove(int autoApprove) {
        this.autoApprove = autoApprove;
    }

    public String getIpInfo() {
        return ipInfo;
    }

    public void setIpInfo(String ipInfo) {
        this.ipInfo = ipInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("kkid", getKkid())
                .append("ci", getCi())
                .append("content", getContent())
                .append("createdTime", getCreatedTime())
                .append("ip", getIp())
                .append("approveSt", getApproveSt())
                .append("approveUser", getApproveUser())
                .append("approveTime", getApproveTime())
                .toString();
    }
}
